package com.example.mardan_demo1.service;

import com.example.mardan_demo1.pojo.Result;
import com.example.mardan_demo1.pojo.WuZhiHuaHuiYi.DevicePojo;
import com.example.mardan_demo1.pojo.WuZhiHuaHuiYi.HuiYi;
import com.example.mardan_demo1.pojo.WuZhiHuaHuiYi.YiTi;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author:买尔旦江 ×@CreateTime: 2025-02-09
 * @Description: 无纸化会议Service
 * @Version: 1.0
 */
public interface WuZhiHuaHuiYiService {
    Result addHuiYi(HuiYi huiYi);

    Result getHuiYiById(Integer id);

    Result getHuiYiList(Integer pageSize, Integer pageNum, String cname, String state);

    Result addYiTi(YiTi yiti);

    Result getYiTiByHuiYiId(Integer id);

    Result deleteHuiYiById(Integer id);

    Result getYiTiById(Integer id);

    Result jieShuHuiYi(Integer id);

    Result huiFuHuiYi(Integer id);

    Result updateHuiYi(HuiYi huiYi);

    Result deleteYiTiById(Integer id);

    Result insertTopicsInOrder(YiTi yiti);

    Result moveUpTopics(Integer topicId);

    Result moveDownTopics(Integer topicId);

    Result deleteTopicAndSort(Integer topicId);

    Result getMeetingListByMacAddresses();

    Result getMeetingListByIPAddress(HttpServletRequest request);

    Result addDevice(DevicePojo device);

    Result updateDeviceInfo(DevicePojo device);

    Result deleteDeviceInfo(Integer id);

    Result getDeviceList(String ip, Integer pageNum, Integer pageSize);

    Result getDeviceInfoById(Integer id);

    Result getIpAddressForClient(HttpServletRequest request);

    Result getMeetingListByShouquanYonghu(HttpServletRequest request);
}
